Lua/Shared/Vector3/Functions/DistanceSqr2D
From JC2-MP Documentation
Returns | number |
---|---|
Prototype | Vector3:DistanceSqr2D(Vector3 b) |
Description | Calculates the squared 2D distance between the subject and b ignoring the y-axis value. |
Additional Notes
- This function is faster than Vector:Distance2D(), as no square root is required.